package com.indexingsystem.boss.Vo;

import java.io.Serializable;

public class CompleteTaskReqVo implements Serializable {

    private String token;
    private Integer id;
    private Integer completestatus;

    public CompleteTaskReqVo() {
    }

    public CompleteTaskReqVo(String token, Integer id, Integer completestatus) {
        this.token = token;
        this.id = id;
        this.completestatus = completestatus;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCompletestatus() {
        return completestatus;
    }

    public void setCompletestatus(Integer completestatus) {
        this.completestatus = completestatus;
    }

    @Override
    public String toString() {
        return "CompleteTaskReqVo{" +
                "token='" + token + '\'' +
                ", id=" + id +
                ", completestatus=" + completestatus +
                '}';
    }

    public boolean isNotBlank() {
        return id != null && completestatus != null;
    }
}
